
#include "StrEqlPre.h"

StrEqlPre::StrEqlPre(const std::string &strVal) 
{
	value = strVal;
}

bool StrEqlPre::judge(const std::string &strVal) 
{
	return value == strVal;
}

bool StrEqlPre::judge(int intVal)
{
	int val = atoi(value.c_str());
	return intVal == val;
}